//
//  RandomNode.swift
//  LeetCode
//
//  Created by 武侠 on 2022/3/11.
//  Copyright © 2022 zhulongiMac02. All rights reserved.
//

import UIKit

class RandomNode {
    var val: Int
    var next: RandomNode?
    var random: RandomNode?
        
    init(_val: Int) {
        val = _val
        next = nil
        random = nil
        
    }
    
}
